package demo01;

public class Main {
    public static void main(String[] args) {
        System.out.println("*********");
        AbstractClass c;
        c=new ConcreteClassA();
        c.TemplateMethod();
        c=new ConCreteClassB();
        c.TemplateMethod();
        System.out.println("*********");
    }
}
